import instance from "./axios";

export let dl = (username, password) => {
    // 发起一个post请求
    return axios({
        method: 'post',
        url: '/api/login',
        data: {
            username: username,
            password: password
        }
    });
}